containers.<name>.bindMounts.<name>.isReadOnly

Determine whether the mounted path will be accessed in read-only mode.

Type
boolean
Default
true
Declared
<nixpkgs/nixos/modules/virtualisation/nixos-containers.nix>